/// @desc RoomTransition(type, targetroom)
/// @arg Type
/// @arg TaegetRoom
function RoomTransition(_type, _targetroom){
	if(!instance_exists(oTransition))
	{
		with(instance_create_depth(0, 0, -9999, oTransition))
		{
			type = _type;
			target = _targetroom;
		}
	}else show_debug_message("传送开始时尝试传送")
}//func